package com.cheng.chengliving.commodity.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.cheng.chengliving.commodity.vo.SearchResult;
import com.cheng.common.utils.PageUtils;
import com.cheng.chengliving.commodity.entity.SkuInfoEntity;


import java.util.Map;

/**
 * sku信息
 *
 * @author zhucheng
 * @email 1920361386@qq.com
 * @date 2023-02-12 14:59:11
 */
public interface SkuInfoService extends IService<SkuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);
    //保存SKU的基本信息
    void saveSkuInfo(SkuInfoEntity skuInfoEntity);

    //通过携带的检索条件进行分页查询
    PageUtils queryPageByCondition(Map<String, Object> params);

    //返回购买用户检索的结果
    //PageUtils querySearchPageByCondition(Map<String,Object> params);
    SearchResult querySearchPageByCondition(Map<String,Object> params);

}

